package cn.blogger.pojo;

import java.io.Serializable;
import java.util.Date;

public class TBlog implements Serializable {

  private int bid;

  private int tagId;
  private int categoryId;
  private String title;
  private String summary;
  private String content;
  private Date gmtModified;
  private int userUid;
  private String author;


  public TBlog() {
  }

  public TBlog(int bid, int tagId, int categoryId, String title, String summary, String content, Date gmtModified, int userUid, String author) {
    this.bid = bid;
    this.tagId = tagId;
    this.categoryId = categoryId;
    this.title = title;
    this.summary = summary;
    this.content = content;
    this.gmtModified = gmtModified;
    this.userUid = userUid;
    this.author = author;
  }

  public TBlog(int tagId, int categoryId, String title, String summary, String content, Date gmtModified, int userUid, String author) {
    this.tagId = tagId;
    this.categoryId = categoryId;
    this.title = title;
    this.summary = summary;
    this.content = content;
    this.gmtModified = gmtModified;
    this.userUid = userUid;
    this.author = author;
  }

  public int getBid() {
    return bid;
  }

  public void setBid(int bid) {
    this.bid = bid;
  }

  public int getTagId() {
    return tagId;
  }

  public void setTagId(int tagId) {
    this.tagId = tagId;
  }

  public int getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(int categoryId) {
    this.categoryId = categoryId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getSummary() {
    return summary;
  }

  public void setSummary(String summary) {
    this.summary = summary;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Date getGmtModified() {
    return gmtModified;
  }

  public void setGmtModified(Date gmtModified) {
    this.gmtModified = gmtModified;
  }

  public int getUserUid() {
    return userUid;
  }

  public void setUserUid(int userUid) {
    this.userUid = userUid;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }
}
